export const dva = {
  config: {
    onError (err) {
      err.preventDefault()
      console.error(err.message)
    }
  }
}
export const render = (oldRender) => {
  if (navigator.userAgent.indexOf('108sq') > -1) {
    document.addEventListener('ChangJSBridgeReady', () => {
      oldRender()
    })
  } else {
    oldRender()
  }
}
// 移动端调试
var VConsole = require('vconsole')
new VConsole()
